<div class="manage-account-form-wrapper">

    
    
    	<div class="account-title"><span>Update Account Information</span></div>
    	
    	<div class="success" th:if="${successMessage}" th:text="${successMessage}"></div>
    	
        <blc:form class="manage-account" action="#" th:action="@{/account}" th:object="${updateAccountForm}" method="POST">
        <div class="form-fields">
	        <div>
	            <label for="emailAddress">Email Address:</label>
	            <span class="error" th:if="${#fields.hasErrors('emailAddress')}" th:errors="*{emailAddress}"></span>
	            <input type="email" name="emailAddress" id="emailAddress" th:field="*{emailAddress}" class="field50" th:classappend="${#fields.hasErrors('emailAddress')}? 'fieldError'"/>
	        </div>
	        <div>
	            <label for="firstName">First Name:</label>
	            <span class="error" th:if="${#fields.hasErrors('firstName')}" th:errors="*{firstName}"></span>
	            <input type="text" name="firstName" id="firstName" th:field="*{firstName}" class="field50" th:classappend="${#fields.hasErrors('firstName')}? 'fieldError'"/>
	        </div>
	        <div>
	            <label for="lastName">Last Name:</label>
	            <span class="error" th:if="${#fields.hasErrors('lastName')}" th:errors="*{lastName}"></span>
	            <input type="text" name="lastName" id="lastName" th:field="*{lastName}" class="field50" th:classappend="${#fields.hasErrors('lastName')}? 'fieldError'"/>
	        </div>
	        <div>
	        	<input type="submit" class="medium red" value="Submit" />
	        </div>
        </div>
        
    </blc:form>
</div>